package com.linjing.trade.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author 仇冬林
 * @date 2022/5/7
 */

@Data
@Component
@RefreshScope
public class TradeConfig {
    @Value("${trade.username:123}")
    private String username;

    @Value("${trade.password:123}")
    private String password;
}
